home *** CD-ROM | disk | FTP | other *** search
- #define CURSES_LIBRARY 1
- #include <curses.h>
- #undef raw_output
-
- #ifdef PDCDEBUG
- char *rcsid_rawout = "$Header: C:\CURSES\nonport\RCS\rawout.c 2.1 1993/06/18 20:22:13 MH Rel MH $";
- #endif
-
-
-
-
- /*man-start*********************************************************************
-
- raw_output() - enable raw output mode
-
- PDCurses Description:
- This routine enables the output of raw characters using the
- 'standard' *add* and *ins* curses functions.
- To force 8 bit output and no translation of control characters,
- invoke raw_output() with bf as TRUE. To force 7 bit output and
- translation of control characters, invoke raw_output() with bf
- as FALSE.
-
- PDCurses Return Value:
- This function returns OK.
-
- PDCurses Errors:
- No errors are defined for this function.
-
- Portability:
- PDCurses int raw_output( bool );
-
- **man-end**********************************************************************/
-
- int raw_output(bool bf)
- {
- #ifdef PDCDEBUG
- if (trace_on) PDC_debug("raw_output() - called\n");
- #endif
-
- _cursvar.raw_out = bf;
- return( OK );
- }
-